package com.team.employment.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import com.team.employment.model.enums.BaseStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 法定人信息表(全必填)
 * @TableName statutory_info
 */

@Schema(description = "法定人信息表")
@TableName(value ="statutory_info")
@Data
public class StatutoryInfo extends BaseEntity{

    private static final long serialVersionUID = 1L;
    /**
     * 法定人姓名
     */
    @Schema(description = "法定人姓名")
    @TableField(value = "name")
    private String name;

    /**
     * 身份证,18位
     */
    @Schema(description = "身份证")
    @TableField(value = "id_card")
    private String idCard;

    /**
     * 省份id
     */
    @Schema(description = "省份id")
    @TableField(value = "province_id")
    private Long provinceId;

    /**
     * 省份
     */
    @Schema(description = "省份")
    @TableField(value = "province")
    private String province;

    /**
     * 城市id
     */
    @Schema(description = "城市id")
    @TableField(value = "city_id")
    private Long cityId;

    /**
     * 城市
     */
    @Schema(description = "城市")
    @TableField(value = "city")
    private String city;

    /**
     * 区域id
     */
    @Schema(description = "区域id")
    @TableField(value = "district_id")
    private Long districtId;

    /**
     * 区域
     */
    @Schema(description = "区域")
    @TableField(value = "district")
    private String district;

    /**
     * 实际居住详细地址
     */
    @Schema(description = "实际居住详细地址")
    @TableField(value = "address")
    private String address;

    /**
     * 性别
     */
    @Schema(description = "性别")
    @TableField(value = "sex")
    private String sex;

    /**
     * 法定人电话
     */
    @Schema(description = "法定人电话")
    @TableField(value = "phone")
    private String phone;

    /**
     * 法定人职位
     */
    @Schema(description = "法定人职位")
    @TableField(value = "position")
    private String position;

    /**
     * 法定人审核状态(0未审核,1已审核)
     */
    @Schema(description = "法定人审核状态")
    @TableField(value = "status")
    private BaseStatus status;


}